//
//  VWPlayerBaseLayer.swift
//  VideoWatcher
//
//  Created by JY_NEW on 2021/10/19.
//  Copyright © 2021 JunYue. All rights reserved.
//

import ijkPlayerManager
import UIKit
import UICreate

protocol VWPlayerLayerType: VideoPlayerLayerType {
    // 需要weak
    var delegate: VWPlayerControlDelegate? { get set }
    var context: VWPlayerControlContext? { get set }
}
class VWPlayerBaseLayer: VideoPlayerBaseLayer, VWPlayerLayerType {
    weak var delegate: VWPlayerControlDelegate?
    weak var context: VWPlayerControlContext?
}
class VWPlayerAutoDeactiveLayer: VideoPlayerAutoDeactiveLayer, VWPlayerLayerType {
    weak var delegate: VWPlayerControlDelegate?
    weak var context: VWPlayerControlContext?
}
